home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / DefineButton2_1920 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2010-08-12  |  598 b   |  28 lines

  1. on(release){
  2.    if(eval("/Variables:OuvrePas") == false)
  3.    {
  4.       loadVariablesNum("/arcane/tracking/tracking.html?episode=7&stage=29",0);
  5.       set("/Variables:OuvrePas",true);
  6.       set("/Variables:VaVers01","Sc19");
  7.       tellTarget(Gregor)
  8.       {
  9.          gotoAndStop("MarcheFace");
  10.          play();
  11.       }
  12.       tellTarget(Prescott)
  13.       {
  14.          gotoAndStop("MarcheFace");
  15.          play();
  16.       }
  17.    }
  18.    else
  19.    {
  20.       set("/Variables:VaVers01","Sc20");
  21.       tellTarget(Gregor)
  22.       {
  23.          gotoAndStop("MarcheFace");
  24.          play();
  25.       }
  26.    }
  27. }
  28.